package com.xiaobingby.easyuisys.service.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.xiaobingby.easyuisys.service.IRoleService;
import com.xiaobingby.sys.entity.Role;
import com.xiaobingby.sys.entity.UserRole;
import com.xiaobingby.sys.mapper.RoleMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 李磊
 * @date 2019/4/30
 */
@Service("easyuiRoleService")
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements IRoleService {
    @Override
    public List<String> listUserRoleName(Long id){
        return this.baseMapper.listUserRoleName(id);
    }
}
